package com.exam.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.persistence.Id;

// 选择题实体
@Data
public class MultiQuestion {
    @Id
    private String id;

    @JsonProperty("questionId")
    private Integer questionId;

    @JsonProperty("subject")
    private String subject;

    @JsonProperty("section")
    private String section;

    @JsonProperty("answerA")
    private String answerA;

    @JsonProperty("answerB")
    private String answerB;

    @JsonProperty("answerC")
    private String answerC;

    @JsonProperty("answerD")
    private String answerD;

    @JsonProperty("question")
    private String question;

    @JsonProperty("level")
    private String level;

    @JsonProperty("rightAnswer")
    private String rightAnswer;

    @JsonProperty("analysis")
    private String analysis; //题目解析

    @JsonProperty("score")
    private Integer score;

}